const {
    wechatAPIS
} = require('../../tools/wechatApi.js');
module.exports = async ctx => {
    let orderId = ctx.query;
    try {
        let res = await wechatAPIS.orderQuery(orderId);
        ctx.state.data = {
            data: res,
            code: '001'
        }
    } catch (error) {}
};